-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix cargo clippy issues 0.1.65 in Rust #923
Conversation
To track the issue with the |
@@ -31,7 +31,7 @@ pub type MinAndMaxValues = ( | |||
pub(crate) fn apply_null_counts( | |||
array: &StructArray, | |||
null_counts: &mut HashMap<String, ColumnCountStat>, | |||
nest_level: i32, | |||
_nest_level: i32, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one surprises me to see @fvaleye since the nest_level
variable does get used within the function body 😕
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, good point @rtyler, I was also surprised to see clippy raising an error on this one... I'll take a closer look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI
76 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(clippy::only_used_in_recursion)]` implied by `#[deny(warnings)]`
note: parameter used here
--> rust/src/writer/stats.rs:57:77
9e5c7ac
to
91cef97
Compare
Description
0.1.65